<?php
/**
 * @link https://gitee.com/toshcn/micro-hau
 * @copyright Copyright (c) 2022/4/14 micro-hau
 * @author toshcn <toshcn@foxmail.com>
 */

namespace api\controllers;

/**
 * 测试控制器类
 * Class TestController
 * @package api\controllers
 */
class TestController extends AuthController
{
    /**
     * 测试动作
     * @return array
     */
    public function actionIndex()
    {
        return \Yii::$app->api->error();
    }
}
